package com.neardrug.mapper;

import com.neardrug.entity.example;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author rui
 * @ClassName: exampleMapper.xml
 * @create 2023-06-28 16:10
 */
@Mapper
public interface exampleMapper {

    public List<example> findStructure();

    @Select("select * from tb_example where patent_id = #{patentId} and Com_Num = #{ComNum}")
    public example findOne(String patentId, int ComNum);

}
